var app = getApp();

/**
 * 查询我的红包记录
 */
function getMyRedPacketRecord(startPage,success) {
  let param = new Object();
  param['userId'] = app.globalData.userId;
  param['startPage'] = startPage;
  app.func.Post(false, app.api.groupBuy_my_redpacket_record, param, function(res){
    typeof success == 'function' && success(res);
  });
}

module.exports = {
  getMyRedPacketRecord: getMyRedPacketRecord
}